<?php

declare(strict_types=1);
/**
 * This file is part of Hyperf.
 *
 * @link     https://www.hyperf.io
 * @document https://hyperf.wiki
 * @contact  group@hyperf.io
 * @license  https://github.com/hyperf/hyperf/blob/master/LICENSE
 */
namespace JfbCache;

use JfbCache\Annotation\CacheableX;
use JfbCache\Annotation\CacheAheadX;
use JfbCache\Aspect\CacheableXAspect;
use JfbCache\Aspect\CacheAheadXAspect;
use JfbCache\Aspect\CacheEvictXAspect;
use JfbCache\Aspect\CachePutXAspect;
use JfbCache\Aspect\FailCacheXAspect;

class ConfigProvider
{
    public function __invoke(): array
    {
        return [
            'aspects' => [
                CacheableXAspect::class,
                CacheEvictXAspect::class,
                CachePutXAspect::class,
            ],
        ];
    }
}
